//
//  YXContainerView.m
//  YXImageBrowserDemo
//
//  Created by guo peng huang on 2021/5/18.
//

#import "YXContainerView.h"

@implementation YXContainerView

- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    UIView *originView = [super hitTest:point withEvent:event];
    if ([originView isKindOfClass:self.class]) {
        // Continue hit-testing if the view is kind of 'self.class'.
        return nil;
    }
    return originView;
}

@end
